package com.window24.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by yuanfei on 2017/6/5.
 */
@FeignClient(name = "window24-server")
public interface RemoteService {

    @RequestMapping(value = "/api/demo/foo", method = RequestMethod.GET)
    String getFoo();
}